Skip to content

Fix tokenizer README repository ID #1381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 11, 2025
Merged

Conversation

H-Huang
Copy link
Member

@H-Huang H-Huang commented Jul 11, 2025

Fix #1333 (comment)

Downloading from both Meta-Llama-3.1-8B and Llama-3.1-8B work, but the README instructions and the .toml file are different. This changes so the README matches

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 11, 2025
@H-Huang H-Huang requested a review from mori360 July 11, 2025 15:23
Copy link
Contributor

@tianyu-l tianyu-l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@H-Huang
Copy link
Member Author

H-Huang commented Jul 11, 2025

Oh this path doesn't require the meta-llama parent folder path?
https://github.com/pytorch/torchtitan/blob/main/torchtitan/models/llama3/train_configs/llama3_405b.toml#L21

Nope, for HF the model is always in form {parent_org}/{model_name}. In the original tokenizer PR, to be less verbose, I just decided to only download into the folder with model_name (but users can specify to change if they choose)

@H-Huang H-Huang merged commit 5375abb into pytorch:main Jul 11, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants